package com.sleep.psy.external_server.business.resourse.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sleep.psy.external_server.business.resourse.entity.QuestMain;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 试题表 Mapper 接口
 * </p>
 *
 * @author wenliguo
 * @since 2025-08-12
 */
public interface QuestMainMapper extends BaseMapper<QuestMain> {

    /**
     * 通过问题所属类型获取问题
     * @author wenliguo
     * @date 2025/6/5 10:41
     * @param selList 类型集合
     * @return java.util.List<com.sleep.psy.main_server.business2.scale.entity.QuestMain>
     */
    List<QuestMain> selectMainByType(@Param("selList") List<String> selList);
}
